[init]
	defaultBranch = master
[core]
	excludesfile = ./gitignore
	editor=nvim
[user]
	name = Sergey Gavshin
	email = sergg94@ya.ru
[diff]
[color]
    ui = auto
[alias]
    st = status
    ci = commit --verbose
    co = checkout
    di = diff
    dc = diff --cached
    amend = commit --amend
    aa = add --all
    ff = merge --ff-only
    pullff = pull --ff-only
    noff = merge --no-ff
    fa = fetch --all
    pom = push origin master
    b = branch
    ds = diff --stat=160,120
    dh1 = diff HEAD~1
    please = push --force-with-lease
    recon = rebase --continue
    reskip = rebase --skip

    # Divergence (commits we added and commits remote added)
    div = divergence

    # Goodness (summary of diff lines added/removed/total)
    gn = goodness
    gnc = goodness --cached

    # Fancy logging.
    #   h = head
    #   hp = head with patch
    #   r = recent commits, only current branch
    #   ra = recent commits, all reachable refs
    #   l = all commits, only current branch
    #   la = all commits, all reachable refs
    head = !git r -1
    h = !git head
    hp = "!. $HOME/.config/git/helpers && show_git_head"
    r = !GIT_NO_PAGER=1 git l -20
    ra = !git r --all
    l = "!. $HOME/.config/git/helpers && pretty_git_log"
    la = !git l --all

[merge]
    tool = vimdiff

[push]
	default = simple
